﻿using Jst.Domain;

namespace Jst.IRepository
{
    public interface IAuthRepository
    {
        Task<SysUserInfo> GetAccount(string account, string password);

        Task<string> GetUserRoleNameStr(string account, string password);

        Task<SysUserInfo> GetUserInfoByIdAsync(long Id);

        Task<object> GetRoleListAsync(long Id);

        Task<object> GetLoginMenue(long Id);

        Task<List<long>> GetUserRoleIds(long Id);
    }
}
